package com.ecare.user.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @GetMapping("/user/info/{name}")
    public String getUser(@PathVariable(value = "name")String name) {
        return name;
    }
}
